Skip to content

Add tls config to etcd metadata driver#3978

Open
alesharik wants to merge 4 commits intoapache:masterfrom
alesharik:master
Open

Add tls config to etcd metadata driver#3978
alesharik wants to merge 4 commits intoapache:masterfrom
alesharik:master

Conversation

@alesharik
Copy link

Descriptions of the changes in this PR:

Motivation

Etcd metadata driver should support TLS connections to etcd.

Changes

  • Add metadataServiceConfig config parameter to specify the path for the metadata service configuration file
  • Add EtcdConfig to parse metadata service configuration file and extract TLS config from it
  • Add support to configure TLS connection to EtcdMetadataDriverBase
  • Add smoke test to check if logic above works

@dlg99 dlg99 requested a review from eolivelli June 9, 2023 16:02
Copy link
Contributor

@dlg99 dlg99 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@dlg99
Copy link
Contributor

dlg99 commented Jun 10, 2023

Please fix checkstyle errors to let CI run

@alesharik
Copy link
Author

@dlg99 done, checkstyle errors fixed

Copy link
Contributor

@eolivelli eolivelli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

@eolivelli eolivelli modified the milestones: 4.17.0, 4.18.0 Mar 29, 2024
@hezhangjian
Copy link
Member

@alesharik Thanks for your contribution. Any updates?

@alesharik
Copy link
Author

@shoothzj it is ready. CI failed because of other error, and it may be fixed now

@@ -0,0 +1 @@
cfssl
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why we need this in .gitignore

@hezhangjian
Copy link
Member

hezhangjian commented May 4, 2024

@alesharik Sorry for my late reply, I recenlty come back to actively work in BookKeeper project. I think we also need documentation about how to config like in #4256 .

Also you need to rebase the code, so we can move forward with this PR.

Thanks for your contribution. cc @dlg99 @eolivelli

@dlg99
Copy link
Contributor

dlg99 commented May 30, 2024

@alesharik please add some documentation, rebase, and make sure that the CI passes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants